<ion-header-bar class="bar-top">
  <div class="buttons">
        <nav-button class="back" ng-click="back()"></nav-button>
  </div>
  <h1 class="title">注册成为延陵医道医生</h1>
</ion-header-bar>
<ion-view>
    <ion-content class="login register-user" has-bouncing="false">
      <div class="logo"><img src="img/logo1.jpg" alt=""></div>
      <div class="ipt-item row">
        <div class="col col-60 txt"><input type="tel" ng-model="vm.user.code" class="phone" placeholder="请输入手机号"></div>
        <div class="col col-40 ipt">
          <button class="col button button-small" ng-click="vm.getCode();" ng-class="{'active': vm.time>0}" ng-bind="vm.time>0?('重发 '+vm.time):'获取验证码'">获取验证码</button>
        </div>
      </div>
      <div class="ipt-item row">
        <div class="col txt">
          <input type="tel" class="code" ng-model="vm.user.valiCode" placeholder="请输入验证码">
        </div>
      </div>
      <div class="ipt-item row">
        <div class="col col-33 txt">输入新密码</div>
        <div class="col col-67 ipt">
          <input type="password" placeholder="" ng-model="vm.user.password">
        </div>
      </div>
      <div class="ipt-item row">
        <div class="col col-33 txt">确认新密码</div>
        <div class="col col-67 ipt">
          <input type="password" placeholder="" ng-model="vm.user.repassword">
        </div>
      </div>
      <div class="ipt-item agree row">
        <div class="col txt">
          <input type="checkbox" name="" ng-model="vm.agree" id="agree">同意<span ng-click="go('register-noduty')">用户条款</span>
        </div>
      </div>
      <div class="btns row">
          <button type="button" class="col button button-small" ng-click="vm.register()">注册</button>
      </div>
  </ion-content>
</ion-view>